package com.example.service;

import com.example.entity.College;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CollegeService {
    void add(College college);

    PageInfo<College> selectPage(Integer pageNum, Integer pageSize, String name);

    List<College> selectAll(College college);

    void update(College college);

    void deleteById(Integer id);
}
